[INFO] cloning repository https://github.com/linusconcepcion/advent2020
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linusconcepcion/advent2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2b204bf228fdb176c49b277a2ee9919345356a6c
[INFO] building linusconcepcion/advent2020 against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinusconcepcion%2Fadvent2020" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/linusconcepcion/advent2020 on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/linusconcepcion/advent2020
[INFO] finished tweaking git repo https://github.com/linusconcepcion/advent2020
[INFO] tweaked toml for git repo https://github.com/linusconcepcion/advent2020 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/linusconcepcion/advent2020 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4bab21aaffe9ad9f2c5d44e12032ffa70e919e844ae9b2741f407c482c88cf00
[INFO] running `Command { std: "docker" "start" "-a" "4bab21aaffe9ad9f2c5d44e12032ffa70e919e844ae9b2741f407c482c88cf00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4bab21aaffe9ad9f2c5d44e12032ffa70e919e844ae9b2741f407c482c88cf00", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4bab21aaffe9ad9f2c5d44e12032ffa70e919e844ae9b2741f407c482c88cf00", kill_on_drop: false }`
[INFO] [stdout] 4bab21aaffe9ad9f2c5d44e12032ffa70e919e844ae9b2741f407c482c88cf00
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1119923dbcba9103ed55852136f8473e1eb1ddb7202c978814fc151c542cf177
[INFO] running `Command { std: "docker" "start" "-a" "1119923dbcba9103ed55852136f8473e1eb1ddb7202c978814fc151c542cf177", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling advent2020 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day19.rs:77:77
[INFO] [stdout]    |
[INFO] [stdout] 77 |             None => &Rule::process_definition(self.number, self.definition, |ids| { Rule::expand_value(ids, all, cache, counters) })
[INFO] [stdout]    |                      ------------------------                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected fn pointer, found closure
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `for<'r> fn(&'r str) -> Vec<String>`
[INFO] [stdout]                  found closure `[closure@src/day19.rs:77:77: 77:82]`
[INFO] [stdout] note: closures can only be coerced to `fn` types if they do not capture any variables
[INFO] [stdout]   --> src/day19.rs:77:109
[INFO] [stdout]    |
[INFO] [stdout] 77 |             None => &Rule::process_definition(self.number, self.definition, |ids| { Rule::expand_value(ids, all, cache, counters) })
[INFO] [stdout]    |                                                                                                             ^^^  ^^^^^  ^^^^^^^^ `counters` captured here
[INFO] [stdout]    |                                                                                                             |    |
[INFO] [stdout]    |                                                                                                             |    `cache` captured here
[INFO] [stdout]    |                                                                                                             `all` captured here
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/day19.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn process_definition(number: i32, definition: String, expandfunc: fn(ids: &str) -> Vec<String>) -> Vec<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^                                  ----------------------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent2020` due to 2 previous errors
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1119923dbcba9103ed55852136f8473e1eb1ddb7202c978814fc151c542cf177", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1119923dbcba9103ed55852136f8473e1eb1ddb7202c978814fc151c542cf177", kill_on_drop: false }`
[INFO] [stdout] 1119923dbcba9103ed55852136f8473e1eb1ddb7202c978814fc151c542cf177
